home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / arm / mach-l7200 / include / mach / io.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  587 b   |  28 lines

  1. /*
  2.  * arch/arm/mach-l7200/include/mach/io.h
  3.  *
  4.  * Copyright (C) 2000 Steve Hill (sjhill@cotw.com)
  5.  *
  6.  * Changelog:
  7.  *  03-21-2000    SJH    Created from arch/arm/mach-nexuspci/include/mach/io.h
  8.  *  08-31-2000    SJH    Added in IO functions necessary for new drivers
  9.  */
  10. #ifndef __ASM_ARM_ARCH_IO_H
  11. #define __ASM_ARM_ARCH_IO_H
  12.  
  13. #include <mach/hardware.h>
  14.  
  15. #define IO_SPACE_LIMIT 0xffffffff
  16.  
  17. /*
  18.  * There are not real ISA nor PCI buses, so we fake it.
  19.  */
  20. static inline void __iomem *__io(unsigned long addr)
  21. {
  22.     return (void __iomem *)addr;
  23. }
  24. #define __io(a)    __io(a)
  25. #define __mem_pci(a)        (a)
  26.  
  27. #endif
  28.